Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make msgraph.Group a hashable type - change types of unhashable fields #160

Merged
merged 1 commit into from
Sep 29, 2022

Conversation

maxsokolovsky
Copy link
Contributor

@maxsokolovsky maxsokolovsky commented Apr 15, 2022

This will allow values of type msgraph.Group to be hashable and thus usable as keys in Go maps. For example, this is useful in making Groups cached objects in caches whose implementation relies on maps internally.

Addresses #159.

@manicminer manicminer added enhancement New feature or request package/msgraph labels Sep 29, 2022
@manicminer manicminer added this to the v0.48.0 milestone Sep 29, 2022
@manicminer manicminer merged commit cddebf5 into manicminer:main Sep 29, 2022
manicminer added a commit that referenced this pull request Sep 29, 2022
@manicminer manicminer linked an issue Sep 29, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request package/msgraph
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is it possible to make msgraph.Group a hashable type?
2 participants